a = [6, 5, 5, 1, 2, 3, 3, 3, 4]
# 集合天生去重，重要提起去重都可以想得到集合set
a = [set(a)]
print(a)